<?php $this->Html->addCrumb('Advance Search'); ?>
<div class="search-title">Find Items</div>
<div class="search-cont">
<div class="search-subcont">
<form method="post" id="add_admin" action="<?php echo Configure::read('base_url')."products/advance_search";?>">
	<fieldset class="search-item-01">
    	<label>Enter keywords or item number</label>
        <input style="height: 24px; width: 550px;" type="text" value="" name="keywords"/>
    </fieldset>
    	<fieldset class="search-item-02">
    	<label>In this category</label>
		<select id="ProductCategories" style="width:195px" class="required" name="data[Product][categories]">
		<option value="">All Categories</option>
        <?php echo $this->requestAction('/manage_category/category_tree/');?>
		</select>       
		</fieldset>
		<br class="clear" />
    <fieldset class="search-item-03">
    	<input name="tle_des" type="checkbox"  /><label>Search title and description</label>
        <input name="com_list" type="checkbox"  /><label>Completed Listings only</label><br class="clear" />
    </fieldset>
</div>
</div>
<div class="search-cont">
<div class="search-subcont">
<fieldset class="search-item-04">
<label>Sort by</label>
<select name="sortby">
    <option value="1">Time: Ending soonest</option>
    <option value="2">Time: Newly Listed</option>
    <option value="3">Price: Highest</option>
    <option value="4">Price: Lowest</option>
</select>
</fieldset>
<fieldset class="search-item-04">
<label>View results</label>
<select name="view_result">
    <option value="1">All Items</option>
    <option value="2">Picture Gallery</option>    
</select>
</fieldset>
<fieldset class="search-item-04">
<label>Results per</label>
<select name="per_page">
    <option value="25">25</option>
    <option value="50">50</option>
    <option value="100">100</option>
    <option value="200">200</option>
</select>
</fieldset><br class="clear" />
</div>
    <br />
<input name="search" type="submit" value="Search" class="button" />
</div>
<br class="clear" />

</form>